package com.yt.order.models.bo;

import com.yt.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 工单信息BO
 *
 * @author chen
 * @Date 2025-09-05 18:26:57
 */
@Data
public class WorkOrderInfoBO extends BaseBO implements Serializable {
    @ApiModelProperty(value = "工单状态：0-未派单，1-进行中，2-已完成，3-已取消")
    private Integer status;
    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;


    @ApiModelProperty(value = "工单标题（模糊查询）")
    private String title;

    @ApiModelProperty(value = "客户名称（模糊查询）")
    private String customerName;

    @ApiModelProperty(value = "产品名称（模糊查询）")
    private String productName;


    @ApiModelProperty(value = "接单员ID")
    private Long employeeId;
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "工单经费")
    private Float money;

    @ApiModelProperty(value = "接单员提成（总经费的30%）")
    private Float commission;
}
